
import request from '@/utils/request'
 
 
const api_name = '/edustatistics'
 
export default {
 
 
  createStatistics(day) {
 
    return request({
 
      url: `${api_name}/createDataBydate/${day}`,
 
      method: 'post'
 
    })
 
  },
   
showChart(searchObj) {
 
    return request({
 
        url: `${api_name}/showChart/${searchObj.begin}/${searchObj.end}/${searchObj.type}`,
 
        method: 'get'
 
    })
 
}
 
}